package org.example.bean;

import org.apache.dubbo.config.annotation.Reference;
import org.example.service.HelloService;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {

    @Reference
    private HelloService service;

    public String methodA() {
        String s = service.methodA();
        return s;
    }

    public String methodB() {
        String s = service.methodB();
        return s;
    }

    public String methodC() {
        String s = service.methodC();
        return s;
    }
}
